Skip to content

Rename method for adding tool enchantments#4510

Merged
jurrejelle merged 1 commit intoGregTechCEu:1.20.1from
Phoenixvine32908:1.20.1
Jan 27, 2026
Merged

Rename method for adding tool enchantments#4510
jurrejelle merged 1 commit intoGregTechCEu:1.20.1from
Phoenixvine32908:1.20.1

Conversation

@Phoenixvine32908
Copy link
Copy Markdown
Contributor

What

Fixes the incorrect name of addEnchantmentToTool on the kjs example to enchantment.

@Phoenixvine32908 Phoenixvine32908 requested a review from a team as a code owner January 27, 2026 14:03
Copy link
Copy Markdown
Contributor

@jurrejelle jurrejelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's .enchantment on the toolproperty builder, but .addEnchantmentForTools on the toolProperty. Checks out

@jurrejelle jurrejelle added Documentation Improvements or additions to documentation ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Jan 27, 2026
@jurrejelle jurrejelle merged commit 97847f7 into GregTechCEu:1.20.1 Jan 27, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Documentation Improvements or additions to documentation ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants